package org.eiahe.hr.performance.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.eiahe.hr.performance.domain.PerformanceRewardPunish;

import jakarta.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 奖惩记录业务对象
 *
 * @author zhangnn
 */
@Data
@AutoMapper(target = PerformanceRewardPunish.class, reverseConvertGenerate = false)
public class PerformanceRewardPunishBo {

    /**
     * 记录ID
     */
    private Long recordId;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 工号
     */
    @NotBlank(message = "工号不能为空")
    private String employeeNo;

    private String employeeName;

    /**
     * 记录类型(1奖励 2处罚)
     */
    @NotBlank(message = "记录类型不能为空")
    private String recordType;

    /**
     * 事由
     */
    private String reason;

    /**
     * 记录时间
     */
    private Date recordTime;

    /**
     * 处理结果
     */
    private String result;

    /**
     * 附件
     */
    private String attachment;

    /**
     * 删除标志(0存在 1删除)
     */
    private String delFlag;

    /**
     * 备注
     */
    private String remark;
}
